//
//  CZItemArrow.m
//  A01-CZ彩票
//
//  Created by apple on 15-6-16.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import "CZItemArrow.h"

@implementation CZItemArrow
+ (instancetype)itemWithTitle:(NSString *)title icon:(NSString *)icon desController:(Class)desController{
    //调用父类的类方法，初始化title和icon
    CZItemArrow *item = [self itemWithTitle:title icon:icon];
    item.desController = desController;
    return item;
}

+ (instancetype)itemWithTitle:(NSString *)title desController:(Class)desController{
    //调用父类的类方法，初始化title和icon
    CZItemArrow *item = [self itemWithTitle:title icon:nil];
    item.desController = desController;
    return item;
}

+ (instancetype)itemWithTitle:(NSString *)title icon:(NSString *)icon option:(CZItemOption)option{
    //调用父类的类方法，初始化title和icon
    CZItemArrow *item = [self itemWithTitle:title icon:icon];
    item.option = option;
    return item;
}
@end
